package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.flea.hclv.model.entity.FaceInfo;
import com.flea.hclv.model.entity.vo.FaceInfoPersonVo;

public interface FaceInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FaceInfo record);

    int insertSelective(FaceInfo record);

    FaceInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FaceInfo record);

    int updateByPrimaryKey(FaceInfo record);
    
    int findByProjectCodeAndDays(@Param("projectCode")String projectCode,@Param("inOrOut")int inOrOut);

	List<FaceInfoPersonVo> selectAll(RowBounds rowBounds,
			@Param("personName")String personName, 
			@Param("projectCode")String projectCode, 
			@Param("teamCode")String teamCode, 
			@Param("startTime")String startTime, 
			@Param("endTime")String endTime);
}